SftTree/NET 2.0

ItemReleased Event, SftTree Class

Softel vdm, Inc.

Occurs when a mouse button is released on an item, cell or part.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Event ItemReleased As ItemReleasedEventHandler

C#   

public event ItemReleasedEventHandler ItemReleased;

C++   

public: event ItemReleasedEventHandler ItemReleased;

Event Data

The ItemReleased event handler receives an argument of type ItemClickEventArgs containing data related to this event.

Comments

The ItemReleased event occurs when a mouse button is released on an item, cell or part.

Please note that the ItemReleased event reflects mouse button events. The SelectionChange event should be used when selection changes need to be tracked, as these can also occur though keyboard input, which is not reflected by the ItemReleased event.

The ItemReleased event supplies all the necessary information to the application, so appropriate action can be taken. The application can display a context menu or display application specific information based on the event and the area clicked.

If the ItemReleased event is used to display a context sensitive menu (popup menu), the CancelMode method must be used before displaying the context menu.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com